package com.netease.cloud.cm.api;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * 报警通知发送接口服务
 */
public interface AlarmService {

    @POST("/external/alarm/sms")
    Call<ResponseBody> sendSMS(@Query("to") String phoneNum,
							   @Query("content") String content,
							   @Query("ak") String ak,
							   @Query("nounce") String nounce);

    @POST("/external/alarm/popo")
    Call<ResponseBody> sendPOPO(@Query("to") String email,
								@Query("content") String content,
								@Query("ak") String ak,
								@Query("nounce") String nounce);
}
